import { ElLoading } from 'element-plus'
let loading
export default {
    show() {
        loading = ElLoading.service({
            lock: true,
            text: 'Loading',
            background: 'rgba(0, 0, 0, 0.7)',
        })
    },
    hidden() {
        loading.close()
    }
}